﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/TemplateAdmin.Master" Inherits="System.Web.Mvc.ViewPage<MvcVehicleInsurance.Models.CustomerBillingInformation>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    
    <h2 class="ico_mug">Create Bill</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Fields</legend>
           
            
            <h3>Date</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.date) %>
                <%: Html.ValidationMessageFor(model => model.date) %>
            </div><br />
            
            
            <h3>Amount</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.amount) %>
                <%: Html.ValidationMessageFor(model => model.amount) %>
            </div><br />
            
            <h3>Account Name</h3>
            <div class="editor-field">  
            <%: Html.DropDownListFor(model => model.Acc_ID, ((SelectList)ViewData["listAccount"]))%>
            </div><br />
            
            
            <h3>Customers Full Name</h3>
            <div class="editor-field">
            <%: Html.DropDownListFor(model => model.customerID, ((SelectList)ViewData["listCus"]))%>
            </div><br />
            
            
            <h3>Type Payment</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.TypePayment) %>
                <%: Html.ValidationMessageFor(model => model.TypePayment) %>
            </div><br />
            
           
           <h3>Bank</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Bank) %>
                <%: Html.ValidationMessageFor(model => model.Bank) %>
            </div><br />
            
            <h3>Bank Account</h3>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.BankAccount) %>
                <%: Html.ValidationMessageFor(model => model.BankAccount) %>
            </div>
            
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

